package com.pengtu.entity;



import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.pengtu.entity.IdEntity;

/**
 *@author 刘波波
 *@date 2017年3月31日
 *@describe 实时交通数据接收类
 */
@Entity
@Table(name = "T_NETTY_VEHICLEINFO")
public class VehicleInfo extends IdEntity{
	
	private static final long serialVersionUID = 1L;
	private String packetType;//数据包类型
	private String deviceNumber;//设备身份识别码
	private String siteNumber;//站点编号
	private String deviceErrorNumber;//设备硬件错误码
	private String surveyContent;//调查内容
	private Date   sendDate;//数据生成日期 年 月 日
	private String periodTime;//交通数据处理周期，默认5分钟，可以由dsc控制
	private String serialNumber;//（周期）时间序号
	private String preciseTime;//精确时间
	private String trackNumber;//车道数
	private String laneNumber;//车道号
	private String percentage;//跟车百分比
	private String averageCarDistance ;//平均车头间距
	private String timeRate;//时间占有率
	private String msPassengerTraffic;//中小客车交通量
	private String msPassengerSpeed;//中小客车平均地点车速
	private String sTruckTraffic;//小型货车交通量
	private String sTruckSpeed;//小型货车平均地点车速
	private String bPassengerTraffic;//大客车交通量
	private String bPassengerSpeed;//大客车平均地点车速
	private String mTruckTraffic;//中型货车交通量
	private String mTruckSpeed;//中型货车平均地点车速
	private String bTruckTraffic;//大型货车交通量
	private String bTruckSpeed;//大型货车平均地点车速
	private String elTruckTraffic;//特大型货车交通量
	private String elTruckSpeed;//特大型货车平均地点车速
	private String containerCarTraffic;//集装箱车交通量
	private String containerCarSpeed;//集装箱车平均地点车速
	private String tractorTraffic;//拖拉机交通量
	private String tractorSpeed;//拖拉机平均地点车速
	private String motorcycleTraffic;//摩托车交通量
	private String motorcycleSpeed;//摩托车平均地点车速
	private String remark;//备注
	
	
	/**
	 *@author 刘波波
	 *@date 2017年3月31日
	 *@describe 无参构造器
	 */
	public VehicleInfo() {
		super();
	}
	
	@Column(name = "PACKETTYPE")
	public String getPacketType() {
		return packetType;
	}
	public void setPacketType(String packetType) {
		this.packetType = packetType;
	}
	@Column(name = "DEVICENUMBER")
	public String getDeviceNumber() {
		return deviceNumber;
	}
	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}
	@Column(name = "SITENUMBER")
	public String getSiteNumber() {
		return siteNumber;
	}
	public void setSiteNumber(String siteNumber) {
		this.siteNumber = siteNumber;
	}
	@Column(name = "DEVICEERRORNUMBER")
	public String getDeviceErrorNumber() {
		return deviceErrorNumber;
	}
	public void setDeviceErrorNumber(String deviceErrorNumber) {
		this.deviceErrorNumber = deviceErrorNumber;
	}
	@Column(name = "SURVEYCONTENT")
	public String getSurveyContent() {
		return surveyContent;
	}
	public void setSurveyContent(String surveyContent) {
		this.surveyContent = surveyContent;
	}
	@Column(name = "SENDDATE")
	public Date getSendDate() {
		return sendDate;
	}
	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}
	@Column(name = "PERIODTIME")
	public String getPeriodTime() {
		return periodTime;
	}
	public void setPeriodTime(String periodTime) {
		this.periodTime = periodTime;
	}
	@Column(name = "SERIALNUMBER")
	public String getSerialNumber() {
		return serialNumber;
	}
	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}
	@Column(name = "TRACKNUMBER")
	public String getTrackNumber() {
		return trackNumber;
	}
	public void setTrackNumber(String trackNumber) {
		this.trackNumber = trackNumber;
	}
	@Column(name = "LANENUMBER")
	public String getLaneNumber() {
		return laneNumber;
	}
	public void setLaneNumber(String laneNumber) {
		this.laneNumber = laneNumber;
	}
	@Column(name = "PERCENTAGE")
	public String getPercentage() {
		return percentage;
	}
	public void setPercentage(String percentage) {
		this.percentage = percentage;
	}
	@Column(name = "AVERAGECARDISTANCE")
	public String getAverageCarDistance() {
		return averageCarDistance;
	}
	public void setAverageCarDistance(String averageCarDistance) {
		this.averageCarDistance = averageCarDistance;
	}
	@Column(name = "TIMERATE")
	public String getTimeRate() {
		return timeRate;
	}
	public void setTimeRate(String timeRate) {
		this.timeRate = timeRate;
	}
	@Column(name = "MSPASSENGERTRAFFIC")
	public String getMsPassengerTraffic() {
		return msPassengerTraffic;
	}
	public void setMsPassengerTraffic(String msPassengerTraffic) {
		this.msPassengerTraffic = msPassengerTraffic;
	}
	@Column(name = "MSPASSENGERSPEED")
	public String getMsPassengerSpeed() {
		return msPassengerSpeed;
	}
	public void setMsPassengerSpeed(String msPassengerSpeed) {
		this.msPassengerSpeed = msPassengerSpeed;
	}
	@Column(name = "STRUCKTRAFFIC")
	public String getsTruckTraffic() {
		return sTruckTraffic;
	}
	public void setsTruckTraffic(String sTruckTraffic) {
		this.sTruckTraffic = sTruckTraffic;
	}
	@Column(name = "STRUCKSPEED")
	public String getsTruckSpeed() {
		return sTruckSpeed;
	}
	public void setsTruckSpeed(String sTruckSpeed) {
		this.sTruckSpeed = sTruckSpeed;
	}
	@Column(name = "BPASSENGERTRAFFIC")
	public String getbPassengerTraffic() {
		return bPassengerTraffic;
	}
	public void setbPassengerTraffic(String bPassengerTraffic) {
		this.bPassengerTraffic = bPassengerTraffic;
	}
	@Column(name = "BPASSENGERSPEED")
	public String getbPassengerSpeed() {
		return bPassengerSpeed;
	}
	public void setbPassengerSpeed(String bPassengerSpeed) {
		this.bPassengerSpeed = bPassengerSpeed;
	}
	@Column(name = "MTRUCKTRAFFIC")
	public String getmTruckTraffic() {
		return mTruckTraffic;
	}
	public void setmTruckTraffic(String mTruckTraffic) {
		this.mTruckTraffic = mTruckTraffic;
	}
	@Column(name = "MTRUCKSPEED")
	public String getmTruckSpeed() {
		return mTruckSpeed;
	}
	public void setmTruckSpeed(String mTruckSpeed) {
		this.mTruckSpeed = mTruckSpeed;
	}
	@Column(name = "BTRUCKTRAFFIC")
	public String getbTruckTraffic() {
		return bTruckTraffic;
	}
	public void setbTruckTraffic(String bTruckTraffic) {
		this.bTruckTraffic = bTruckTraffic;
	}
	@Column(name = "BTRUCKSPEED")
	public String getbTruckSpeed() {
		return bTruckSpeed;
	}
	public void setbTruckSpeed(String bTruckSpeed) {
		this.bTruckSpeed = bTruckSpeed;
	}
	@Column(name = "ELTRUCKTRAFFIC")
	public String getElTruckTraffic() {
		return elTruckTraffic;
	}
	public void setElTruckTraffic(String elTruckTraffic) {
		this.elTruckTraffic = elTruckTraffic;
	}
	@Column(name = "ELTRUCKSPEED")
	public String getElTruckSpeed() {
		return elTruckSpeed;
	}
	public void setElTruckSpeed(String elTruckSpeed) {
		this.elTruckSpeed = elTruckSpeed;
	}
	@Column(name = "CONTAINERCARTRAFFIC")
	public String getContainerCarTraffic() {
		return containerCarTraffic;
	}
	public void setContainerCarTraffic(String containerCarTraffic) {
		this.containerCarTraffic = containerCarTraffic;
	}
	@Column(name = "CONTAINERCARSPEED")
	public String getContainerCarSpeed() {
		return containerCarSpeed;
	}
	public void setContainerCarSpeed(String containerCarSpeed) {
		this.containerCarSpeed = containerCarSpeed;
	}
	@Column(name = "TRACTORTRAFFIC")
	public String getTractorTraffic() {
		return tractorTraffic;
	}
	public void setTractorTraffic(String tractorTraffic) {
		this.tractorTraffic = tractorTraffic;
	}
	@Column(name = "TRACTORSPEED")
	public String getTractorSpeed() {
		return tractorSpeed;
	}
	public void setTractorSpeed(String tractorSpeed) {
		this.tractorSpeed = tractorSpeed;
	}
	@Column(name = "MOTORCYCLETRAFFIC")
	public String getMotorcycleTraffic() {
		return motorcycleTraffic;
	}
	public void setMotorcycleTraffic(String motorcycleTraffic) {
		this.motorcycleTraffic = motorcycleTraffic;
	}
	@Column(name = "MOTORCYCLESPEED")
	public String getMotorcycleSpeed() {
		return motorcycleSpeed;
	}
	public void setMotorcycleSpeed(String motorcycleSpeed) {
		this.motorcycleSpeed = motorcycleSpeed;
	}
	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "PRECISETIME")
	public String getPreciseTime() {
		return preciseTime;
	}

	public void setPreciseTime(String preciseTime) {
		this.preciseTime = preciseTime;
	}

	/**
	 *@author 刘波波
	 *@date 2017年3月31日
	 *@describe tostring
	 */
	@Override
	public String toString() {
		return "VehicleInfo [packetType=" + packetType + ", deviceNumber="
				+ deviceNumber + ", deviceErrorNumber=" + deviceErrorNumber
				+ ", surveyContent=" + surveyContent + ", sendDate=" + sendDate
				+ ", periodTime=" + periodTime + ", serialNumber="
				+ serialNumber + ", trackNumber=" + trackNumber
				+ ", laneNumber=" + laneNumber + ", percentage=" + percentage
				+ ", averageCarDistance=" + averageCarDistance + ", timeRate="
				+ timeRate + ", msPassengerTraffic=" + msPassengerTraffic
				+ ", msPassengerSpeed=" + msPassengerSpeed + ", sTruckTraffic="
				+ sTruckTraffic + ", sTruckSpeed=" + sTruckSpeed
				+ ", bPassengerTraffic=" + bPassengerTraffic
				+ ", bPassengerSpeed=" + bPassengerSpeed + ", mTruckTraffic="
				+ mTruckTraffic + ", mTruckSpeed=" + mTruckSpeed
				+ ", bTruckTraffic=" + bTruckTraffic + ", bTruckSpeed="
				+ bTruckSpeed + ", elTruckTraffic=" + elTruckTraffic
				+ ", elruckSpeed=" + elTruckSpeed + ", containerCarTraffic="
				+ containerCarTraffic + ", containerCarSpeed="
				+ containerCarSpeed + ", tractorTraffic=" + tractorTraffic
				+ ", tractorSpeed=" + tractorSpeed + ", motorcycleTraffic="
				+ motorcycleTraffic + ", motorcycleSpeed=" + motorcycleSpeed
				+ ", remark=" + remark + "]";
	}
	
}
